package model;

public class Model {

	private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public static Model getModelInstance(Class<?> classe) {
		
		if (classe == Sip.class) {
			return new Sip();
		} else if (classe == Iax.class) {
			return new Iax();
		} else if (classe == VoiceMail.class) {
			return new VoiceMail();
		} else if (classe == Extensions.class) {
			return new Extensions();
		}
		
		return null;
	}
	
}
